/**
 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	
	
	// 界面语言，默认为 'en'

    config.language = 'zh-cn';

	// 设置宽高

    config.width = 800;

    config.height = 300;

	// 编辑器样式，有三种：'kama'（默认）、'office2003'、'v2'

    //config.skin = '';
	config.font_names='宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;微软雅黑/微软雅黑;'+ config.font_names;  //自定义字体加默认字体  
	config.font_defaultLabel = '宋体';
	// 背景颜色

    //config.uiColor = '#FFF';
    // Set the most common block elements.
	config.format_tags = 'p;h1;h2;h3;pre';

	// Simplify the dialog windows.
	config.removeDialogTabs = 'image:advanced;image:links;link:advanced';
	
	//预览区域显示内容
	config.image_previewText=' ';
	
	// 工具栏（基础'Basic'、全能'Full'、自定义）plugins/toolbar/plugin.js

    //config.toolbar = 'Basic';

    //config.toolbar = 'Full';
	config.toolbar = 'Myccr';
	config.toolbar_Myccr = [
		//['Source','-','Save','NewPage','Preview','-','Templates'],
		//['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
		//['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
		//['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
		//'/',
		['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
		['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		//['Link','Unlink','Anchor'],
		//['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
		['Table','HorizontalRule','Smiley','SpecialChar'],
		'/',
		['Styles','Format','Font','FontSize'],
		['Link'],
		['Image'],
		['TextColor','BGColor'],
		//{name :'tools',items : ['Maximize' , 'ShowBlocks' ,'-' , 'About']}
		['Maximize' , 'ShowBlocks']
	]; 

};
